package com.lovelyj.trip_by_train.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalTime;


@Data
public class Train implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String trainNum;    // 车次号，如G123

    private String startStation;

    private LocalTime startTime ;

    private String endStation;

    private LocalTime endTime;

    private Integer dateDiff;    //出发到结束相差几天

    private Integer distance;

}
